//
//  UITabBar+LLBadgeValue.h
//  TaoTuo
//
//  Created by admin on 2019/10/25.
//  Copyright © 2019 admin. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UITabBar (LLBadgeValue)

///显示一个badge
- (void)showBadgeValue:(nullable NSString *)badgeValue atIndex:(NSInteger)index;

///隐藏badge
- (void)hiddenBadgeAtIndex:(NSInteger)index;


/// 显示一个圆点
/// @param index index
/// @param color 圆点颜色，默认红色
/// @param dotSize 圆点大小，默认 8，8
- (void)showDotAtIndex:(NSInteger)index dotColor:(nullable UIColor *)color dotSize:(CGSize)dotSize;

///隐藏圆点
- (void)hiddenDotAtIndex:(NSInteger)index;

@end

NS_ASSUME_NONNULL_END
